import service from '@/utils/request'

// @Tags FdHealthManagerRegister
// @Summary 创建健康师注册
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FdHealthManagerRegister true "创建健康师注册"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /fdHealthManagerRegister/createFdHealthManagerRegister [post]
export const createFdHealthManagerRegister = (data) => {
  return service({
    url: '/fdHealthManagerRegister/createFdHealthManagerRegister',
    method: 'post',
    data
  })
}

// @Tags FdHealthManagerRegister
// @Summary 删除健康师注册
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FdHealthManagerRegister true "删除健康师注册"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /fdHealthManagerRegister/deleteFdHealthManagerRegister [delete]
export const deleteFdHealthManagerRegister = (data) => {
  return service({
    url: '/fdHealthManagerRegister/deleteFdHealthManagerRegister',
    method: 'delete',
    data
  })
}

// @Tags FdHealthManagerRegister
// @Summary 批量删除健康师注册
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除健康师注册"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /fdHealthManagerRegister/deleteFdHealthManagerRegister [delete]
export const deleteFdHealthManagerRegisterByIds = (data) => {
  return service({
    url: '/fdHealthManagerRegister/deleteFdHealthManagerRegisterByIds',
    method: 'delete',
    data
  })
}

// @Tags FdHealthManagerRegister
// @Summary 更新健康师注册
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FdHealthManagerRegister true "更新健康师注册"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /fdHealthManagerRegister/updateFdHealthManagerRegister [put]
export const updateFdHealthManagerRegister = (data) => {
  return service({
    url: '/fdHealthManagerRegister/updateFdHealthManagerRegister',
    method: 'put',
    data
  })
}

// @Tags FdHealthManagerRegister
// @Summary 用id查询健康师注册
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.FdHealthManagerRegister true "用id查询健康师注册"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /fdHealthManagerRegister/findFdHealthManagerRegister [get]
export const findFdHealthManagerRegister = (params) => {
  return service({
    url: '/fdHealthManagerRegister/findFdHealthManagerRegister',
    method: 'get',
    params
  })
}

// @Tags FdHealthManagerRegister
// @Summary 分页获取健康师注册列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取健康师注册列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManagerRegister/getFdHealthManagerRegisterList [get]
export const getFdHealthManagerRegisterList = (params) => {
  return service({
    url: '/fdHealthManagerRegister/getFdHealthManagerRegisterList',
    method: 'get',
    params
  })
}

// @Tags FdHealthManagerRegister
// @Summary 获取健康师注册列表【服务中心】
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "获取健康师注册列表【服务中心】"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManagerRegister/getScHealthManagerRegisterList [get]
export const getScHealthManagerRegisterList = (params) => {
  return service({
    url: '/fdHealthManagerRegister/getScHealthManagerRegisterList',
    method: 'get',
    params
  })
}

// @Tags FdHealthManagerRegister
// @Summary 分页获取健康师注册列表【超管】
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取健康师注册列表【超管】"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManagerRegister/getAllHealthManagerRegisterList [get]
export const getAllHealthManagerRegisterList = (params) => {
  return service({
    url: '/fdHealthManagerRegister/getAllHealthManagerRegisterList',
    method: 'get',
    params
  })
}